Some Pega Platform applications have auto-generated rules. These rules are created at runtime during the normal use of a production system.
Note: Auto-generated rules are not present in the upgraded rule base from the time of the initial rule migration and must be migrated manually.
There is a built-in utility to export the auto-generated rules created after a certain time period. Use the prpcUtils.properties utility, located in the coreBuildDistributionImage/scripts/utils directory, to perform the export.
To run the prpcUtils.properties utility, do the following:
<?xml version="1.0" encoding="UTF-8" ?>
<ExportClassList>
<Database dbname="PegaRULES">
<Class name="Rule-Obj-Property" column="PXUPDATEDATETIME"/>
<Class name="Rule-Obj-When" column="PXUPDATEDATETIME"/>
<Class name="Rule-Obj-FlowAction" column="PXUPDATEDATETIME"/>
</Database>
</ExportClassList>
Class name
represents either:PXUPDATEDATETIME
represents the exposed column, which could be used to match the time stamp in the export.migration.date property in the PRPCUtils.properties file that is set in step 3.C:\coreBuildDistributionImage\scripts\utils>prpcUtils.bat export